<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
    <h1>新闻列表</h1>

    <ul>
        <li>
            <a th:href="@{/news/detail/1}">新闻1</a>
        </li>
        <li>
            <a th:href="@{/news/detail/2}">新闻2</a>
        </li>
    </ul>

</body>
</html>